package com.copa.module.goods.service;

import com.copa.domain.ResponseDto;
import com.copa.module.goods.domain.dto.GoodsInfoDetailDto;
import com.copa.module.goods.domain.dto.IndexGoodsListDto;

import java.util.List;

/**
 * @author copa
 * @createDate 2021-01-14 12:02
 * @function
 */
public interface GoodsService {

    ResponseDto<List<IndexGoodsListDto>> indexList();

    ResponseDto<List<IndexGoodsListDto>> categoryGoods(Long categoryId);

    ResponseDto<GoodsInfoDetailDto> detail(Long goodsId);

    ResponseDto<List<IndexGoodsListDto>> search(String goodsName);
}
